<!doctype html>
<html class="no-js" lang="en">
<!--<![endif]-->
<head>
<meta name="layout" content="anonymous">
<title>Login</title>
</head>
<body id="body">
  <h2>Login</h2>
  <hr />
  <g:if test="${flash.message}">
    <div class="message">${flash.message}</div>
  </g:if>
  <g:form action="signIn">
    <input type="hidden" name="targetUri" value="${targetUri}" />
    <table>
      <tbody>
        <tr>
          <td>Username:</td>
          <td><input type="text" name="username" value="${username}" /></td>
        </tr>
        <tr>
          <td>Password:</td>
          <td><input type="password" name="password" value="" /></td>
        </tr>
        <tr>
          <td>Remember me?:</td>
          <td><g:checkBox name="rememberMe" value="${rememberMe}" /></td>
        </tr>
        <tr>
          <td />
          <td><br/><input type="submit" class="btn btn-primary" value="Sign in" /></td>
        </tr>
      </tbody>
    </table>
  </g:form>
  <div>
  	If you do not have an account <g:link controller="auth" action="register">click here</g:link> to register. <br/>
  	If you forget your password <g:link controller="auth" action="resetPassword">click here</g:link> to retrieve. 
  </div>
</body>
</html>
